home *** CD-ROM | disk | FTP | other *** search
- ; -------------------------------------------------------------------------
- ; $VER: LJ4Boost-Install 1.0 (06.04.95)
- ;
- ; Installer-Script for LJ4Boost V1.0
- ; Copyright © 1995 by Oliver Hitz
-
- ; TEXTS -------------------------------------------------------------------
-
- (set #lj4b-install
- (cat "\nLJ4Boost V1.0\n"
- "Installer Script\n\n"
- "© 1995 by Oliver Hitz\n\n"
- "Click on >Continue< to proceed!\n"
- )
- )
-
- (set #lj4b-install-help
- (cat "This installer script installs the LJ4Boost Printer Driver Package V1.0\n\n")
- )
-
- (set #lj4b-driver
- (cat "\nCopy the printer driver to DEVS:Printers?")
- )
-
- (set #lj4b-driver-help
- (cat "The printer driver is the main program of this package. It is copied to the other printer drivers which are in the directory DEVS:Printers.\n")
- )
-
- (set #lj4b-prefs
- (cat "\nCopy the preferences editor to SYS:Prefs?")
- )
-
- (set #lj4b-prefs-help
- (cat "The preferences editor lets you take control over some special features that this package offers.\n")
- )
-
- (set #lj4b-prefscat
- (cat "\nDo you want to install the german catalog file?")
- )
-
- (set #lj4b-prefscat-help
- (cat "Unfortunately there are only two languages available at the moment. But this will (hopefully) change in future versions.\n")
- )
-
- (set #lj4b-doc
- (cat "\nInstall the documentation?")
- )
-
- (set #lj4b-doc-help
- (cat "Sometimes it is useful to have the documentation ready-to-use somewhere on the hard drive. The documentation is NOT needed by the program.")
- )
-
- (set #lj4b-register
- (cat "\nThe LJ4Boost Printer Driver Package\n"
- "is SHAREWARE. If you use it, you HAVE TO pay\n"
- "for it.\n\n"
- "Do you want to install the Registration-Utility?\n"
- "(It is suggested you install it in the same\n"
- "directory as the docs, because it can be started\n"
- "from the documentation)."
- )
- )
-
- (set #lj4b-register-help
- (cat "It is strongly recommended to install the Registration-Utility. After you have registered, you can of course delete it...")
- )
-
- (set #wrong-kick
- (cat "\nSorry, this package needs at least\n"
- "Kickstart version 2.0!\n\n"
- )
- )
-
- ; VARS --------------------------------------------------------------------
-
- (set sourcePath (expandpath (pathonly @icon)))
-
- (set ver (/ (getversion "exec.library" (resident)) 65536))
-
- ; MAIN --------------------------------------------------------------------
-
- (complete 0)
- (if (> ver 36)
- (if (askbool (prompt #lj4b-install)
- (help #lj4b-install-help)
- (choices "Continue" "End Installation")
- (default 1)
- )
- (
- (if (askbool (prompt #lj4b-driver)
- (help #lj4b-driver-help)
- (choices "Copy" "Skip This Part")
- (default 1)
- )
- (Copyfiles (source (tackon sourcePath "Devs/Printers/LJ4Boost"))
- (dest "DEVS:Printers")
- (infos)
- )
- )
- (complete 25)
- (if (askbool (prompt #lj4b-prefs)
- (help #lj4b-prefs-help)
- (choices "Copy" "Skip This Part")
- (default 1)
- )
- (Copyfiles (source (tackon sourcePath "Prefs/LJ4Boost"))
- (dest "SYS:Prefs")
- (infos)
- )
- )
- (complete 40)
- (if (askbool (prompt #lj4b-prefscat)
- (help #lj4b-prefscat-help)
- (choices "Yes" "No")
- (default 2)
- )
- (Copyfiles (source (tackon sourcePath "Locale/Catalogs/deutsch/lj4boostprefs.catalog"))
- (dest "LOCALE:Catalogs/deutsch")
- (infos)
- )
- )
- (complete 50)
- (if (askbool (prompt #lj4b-doc)
- (help #lj4b-doc-help)
- (choices "Copy" "Skip This Part")
- (default 1)
- )
- (Copyfiles (source (tackon sourcePath "LJ4Boost.guide"))
- (dest (askdir (prompt "Please select a place to the documentation.")
- (help @askdir-help)
- (default "SYS:Tools")
- )
- )
- (infos)
- )
- )
- (complete 75)
- (if (askbool (prompt #lj4b-register)
- (help #lj4b-register-help)
- (choices "Copy" "Skip This Part")
- (default 1)
- )
- (Copyfiles (source (tackon sourcePath "LJ4Boost-Register"))
- (dest (askdir (prompt "Please select a place for the Registration-Utility.")
- (help @askdir-help)
- (default "SYS:Tools")
- )
- )
- (infos)
- )
- )
- (complete 99)
- )
- )
- (abort #wrong-kick)
- )
- (set @default-dest "DEVS:Printers")
-
-